package com.kandinfo.survey.common.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.kandinfo.base.admin.domain.BaseDomain;

/**
 * Description : 题目domain
 * 
 * @author Patrick-chenziping-TG
 * @version 1.0
 */
@Entity
@Table(name = "question")
public class Question extends BaseDomain implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(name = "name")
    private String name; // 题目名称

    @Column(name = "body")
    private String body; // 题目主题

    @Column(name = "dest_type")
    private Integer destType; // 对象类型: 0病人 1家属

    @Column(name = "investigate_type")
    private Integer investigateType; // 调查类型 0大脑好用度，1进食，2药物使用情况，3运动，4总体状态

    @Column(name = "analyze_type")
    private Integer anaylzeType; // 0选择，1填空

    @Column(name = "answer_type")
    private Integer answerType; // 0选择，1填空

    @Column(name = "status")
    private String status; // 逻辑删除：0 正常使用：1

    public Question() {
        super();
    }

    public Question(String name, String body, Integer destType, Integer investigateType, Integer anaylzeType,
            Integer answerType, String status) {
        super();
        this.name = name;
        this.body = body;
        this.destType = destType;
        this.investigateType = investigateType;
        this.anaylzeType = anaylzeType;
        this.answerType = answerType;
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public Integer getDestType() {
        return destType;
    }

    public void setDestType(Integer destType) {
        this.destType = destType;
    }

    public Integer getInvestigateType() {
        return investigateType;
    }

    public void setInvestigateType(Integer investigateType) {
        this.investigateType = investigateType;
    }

    public Integer getAnaylzeType() {
        return anaylzeType;
    }

    public void setAnaylzeType(Integer anaylzeType) {
        this.anaylzeType = anaylzeType;
    }

    public Integer getAnswerType() {
        return answerType;
    }

    public void setAnswerType(Integer answerType) {
        this.answerType = answerType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
